package com.smasher.mqtt.receivers;

import com.smasher.mqtt.interfaces.MessageReceiver;

public abstract class TopicMessageReceiver implements MessageReceiver {

    private String topic;

    public TopicMessageReceiver() {

    }

    public TopicMessageReceiver(String topic) {
        this.topic = topic;
    }

    public String getTopic() {
        return topic;
    }

}
